package com.kuaifu.autofare.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class ForwardAction {
	@RequestMapping("/action/do")
	public ModelAndView action(@RequestParam String uri, HttpServletRequest req) throws Exception {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("forward:" + uri);
		return mv;
	}
}
